package com.jack.payment.entity.common;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Schema(name = "公共请求参数头部分")
public class CommonAskHead<T> implements Serializable {
    @Schema(description = "请求的用户id")
    private T userId;
    @Schema(description = "设备id")
    private String deviceId;
    @Schema(description = "软件版本", required = true, example = "test2.0")
    private String appVersion;
    @Schema(description = "app包名", required = true, example = "com.subfg.api")
    private String pageName;
    @Schema(description = "设备操作系统[WebPC, iOS, Android, Applet, WebH5]", required = true , example = "Web")
    private String osType;
    @Schema(description = "设备版本信息")
    private String deviceModel;

    @Schema(description = "系统app软件信息")
    private String osAppVersion;
    @Schema(description = "客户端请求时间", required = true, example = "1698118159")
    private Long currentTime;

    @Schema(description = "ip地址")
    private String ipAddress;
}
